package com.yisoo.ubag.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yisoo.common.utils.PageUtils;
import com.yisoo.common.utils.R;
import com.yisoo.ubag.product.entity.DevTokenEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author mmciel
 * @email 761998179@qq.com
 * @date 2021-02-06 17:43:43
 */
public interface DevTokenService extends IService<DevTokenEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByCid(Map<String, Object> params, Long cid);

    void clearByIds(List<String> asList);

    R generator(DevTokenEntity devToken, int i);

    R countUsed(Long cid);

    List<DevTokenEntity> getCountByCidBidSid(Long consumerId, Long brandId, Long sceneId);

}

